using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;

public class startScene_BtnEffect : MonoBehaviour
{
    public GameObject LoginWindow;
    public TMP_InputField UpInput;
    public TMP_InputField DownInput;

    void Start()
    {
        
    }

    void Update()
    {

    }
    #region StartBtn
    public void startEnter()
    {
        transform.localScale = new Vector3(1.25f,1.25f,1.25f);
    }
    public void startExit()
    {
        transform.localScale = new Vector3(1.2f, 1.2f, 1.2f);
    }
    public void startClick()
    {
        LoginWindow.SetActive(true);
    }
    #endregion
    #region QuitBtn
    public void quitEnter()
    {
        transform.localScale = new Vector3(0.75f, 0.75f, 0.75f);
    }
    public void quitExit()
    {
        transform.localScale = new Vector3(0.69f, 0.69f, 0.69f);
    }
    public void quitClick()
    {
        Application.Quit();
    }
    #endregion
    #region CloseBtn
    public void closeEnter()
    {
        transform.localScale = new Vector3(1.15f, 1.15f, 1.15f);
    }
    public void closeExit()
    {
        transform.localScale = new Vector3(1f, 1f, 1f);
    }
    public void closeClick()
    {
        LoginWindow.SetActive(false);
    }
    #endregion
    #region LoginBtn
    public void loginClick()
    {
        Debug.Log(LoginWindow);
        if (UpInput.text == "123" && DownInput.text == "1")
            SceneManager.LoadScene("ChaneScene");
        else
            Debug.Log("error acount or password");
    }
    #endregion
}

